const getters = {
  deployUploadApi: state => state.api.deployUploadApi,
  databaseUploadApi: state => state.api.databaseUploadApi,
  size: state => state.app.size,
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  roles: state => state.user.roles,
  user: state => state.user.user,
  autoPath: state => state.user.autoPath,
  permissionType: state => state.user.permissionType,
  routerMap: state => state.user.routerMap,
  searchInfo: state => state.user.searchInfo, // 左侧查询数据的按钮
  menus: state => state.user.menus,
  menusMap: state => state.user.menusMap,
  menusCode: state => state.user.menusCode,
  codes: state => state.user.codes,
  loadMenus: state => state.user.loadMenus,
  asyncRouter: state => state.user.asyncRouter,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  socketApi: state => state.api.socketApi,
  imagesUploadApi: state => state.api.imagesUploadApi,
  baseApi: state => state.api.baseApi,
  fileUploadApi: state => state.api.fileUploadApi,
  updateAvatarApi: state => state.api.updateAvatarApi,
  qiNiuUploadApi: state => state.api.qiNiuUploadApi,
  sqlApi: state => state.api.sqlApi,
  swaggerApi: state => state.api.swaggerApi,
  leftSidebar: state => state.components.sidebar,
  linkSearch: state => state.settings.linkSearch
};
export default getters;
